﻿using System;
using Microsoft.Xna.Framework;

namespace Terraria.ModLoader
{
	// Token: 0x020001C6 RID: 454
	public class UsageException : Exception
	{
		// Token: 0x060012F9 RID: 4857 RVA: 0x0000FB23 File Offset: 0x0000DD23
		public UsageException()
		{
		}

		// Token: 0x060012FA RID: 4858 RVA: 0x0000FB36 File Offset: 0x0000DD36
		public UsageException(string msg)
		{
			this.msg = msg;
		}

		// Token: 0x060012FB RID: 4859 RVA: 0x0000FB50 File Offset: 0x0000DD50
		public UsageException(string msg, Color color)
		{
			this.msg = msg;
			this.color = color;
		}

		// Token: 0x04001445 RID: 5189
		internal string msg;

		// Token: 0x04001446 RID: 5190
		internal Color color = Color.Red;
	}
}
